/*
 * Integer 有拆包与解包过程
 *
 * */
public class Operator {

    public static void main(String[] args) {
        /*Integer a = 5;//定义一个变量；
        int b = 5 + a;
        int x = 2 * ++a;
        int y = 2 * b++;
        int c = 129;
        Integer e = 129;
        Integer d = 129;
        // a = 6  b = 11  x = 12  y = 20
        System.out.println("自增运算符前缀运算后a=" + a + ",x=" + x);
        System.out.println("自增运算符后缀运算后b=" + b + ",y=" + y);
        System.out.println(c == d);*/
//        System.out.println(e == d);
        Operator operator = new Operator();
        Operator operator1 = new Operator();
        print(operator, operator1);
    }


    static void print(Operator o1, Operator o2) {
        System.out.println(o1 == (o1 = o2));
    }

}
